import * as React from 'react';
import "./globals.css";
import NoSSR from '@/utils/nossr'
//处理antd在React19中的兼容问题
import '@ant-design/v5-patch-for-react-19';

function RootLayout({ children }: any) {
  const isClient = typeof window !== 'undefined'
  return (
    <html lang="en">
      {/* <body className={`${geistSans.variable} ${geistMono.variable}`}> */}
      <body>
        <NoSSR>
          {children}
        </NoSSR>
      </body>
    </html>
  );
}
export default RootLayout;
